package com.example.stock.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class ScanModel implements Serializable {

    /**
     * 0416030619| 1200*1000*1580*0.25MM| 个7| THJX20210914-B-BC| 2021/09/14| 深圳市天宏新材料有限公司
     */

    public static final long serialVersionUID = -15515456L;

    @Id(autoincrement = true)
    private Long id;
    private String djh;     // 到货单号 自定义字端，使用这个绑定 GoodsOrderBean.DJH
    private String invcode; // 存货编码   0416030619
    private String invspec; // 规格型号   1200*1000*1580*0.25MM
    private String hgsl;    // 合格数量   个7
    private String rkrq;    // 入库日期   2021/09/14
    private String gysName; // 供应商名称 深圳市天宏新材料有限公司
    private int type;       // 0 默认； 1 已更新；

    @Generated(hash = 985871278)
    public ScanModel(Long id, String djh, String invcode, String invspec, String hgsl,
            String rkrq, String gysName, int type) {
        this.id = id;
        this.djh = djh;
        this.invcode = invcode;
        this.invspec = invspec;
        this.hgsl = hgsl;
        this.rkrq = rkrq;
        this.gysName = gysName;
        this.type = type;
    }
    @Generated(hash = 1814029061)
    public ScanModel() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getInvcode() {
        return this.invcode;
    }
    public void setInvcode(String invcode) {
        this.invcode = invcode;
    }
    public String getInvspec() {
        return this.invspec;
    }
    public void setInvspec(String invspec) {
        this.invspec = invspec;
    }
    public String getHgsl() {
        return this.hgsl;
    }
    public void setHgsl(String hgsl) {
        this.hgsl = hgsl;
    }
    public String getRkrq() {
        return this.rkrq;
    }
    public void setRkrq(String rkrq) {
        this.rkrq = rkrq;
    }
    public String getGysName() {
        return this.gysName;
    }
    public void setGysName(String gysName) {
        this.gysName = gysName;
    }
    public String getDjh() {
        return this.djh;
    }
    public void setDjh(String djh) {
        this.djh = djh;
    }
    public int getType() {
        return this.type;
    }
    public void setType(int type) {
        this.type = type;
    }
}
